using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net;
using System.IO;

namespace WebSMS
{
    public partial class teste : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            #region teste recieve
            /*string recieve = "";
            string link = "HTTP://msg.beecontact.com.br/msgnet/sms.asp?username=lopes0901&Password=niceday09&XmlString=<TETHYS><HEAD><APP>default</APP></HEAD><BODY><SENDER>lopes</SENDER><CONTENT>EXEMPLO DE TESTE DE ENVIO DE SMS</CONTENT><DEST_LIST><TO>%2b551176961552</TO></DEST_LIST></BODY></TETHYS>";
            HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create();
            System.Net.HttpWebResponse wb = myReq.GetResponse();
            //wb.ToString();
            WebRequest url = WebRequest.Create(link);
            WebResponse response = url.GetResponse();
            StreamReader input = new StreamReader(response.GetResponseStream());
            recieve = input.ReadToEnd().ToString();

            if (1 == 1)
            {
                Response.Write(recieve);
            }
            
            input.Close();
            response.Close();*/
            #endregion
            #region criptando
            /*string encriptou = Tools.cryp.Crypto.Encriptar("lopesEnvioAutorizado");
            Response.Write(encriptou);*/
            /*
             * 
            Response.Write(Tools.cryp.Crypto.Dencriptar(encriptou));
             * */
            #endregion


        }
    }
}
